package samfeng.erp.location.controller.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 仓库库位分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class LocationPageReqVO extends PageParam {

    @ApiModelProperty(value = "库位名")
    private String name;

    @ApiModelProperty(value = "完整库位路径")
    private String completeName;

    @ApiModelProperty(value = "库位类型")
    private String usageType;

    @ApiModelProperty(value = "是一个报废位置?")
    private String scrapLocation;

    @ApiModelProperty(value = "是一个退回位置?")
    private String returnLocation;

    @ApiModelProperty(value = "排序号")
    private Integer sequence;

    /**
     * 仓库id
     */
    private String warehouseId;

    /** 子库位 */
    @TableField(exist = false)
    private List<LocationPageReqVO> children;

    /** 仓库list */
    //@TableField(exist = false)
    //private List<StockWarehouse> warehouse = new ArrayList<>();

}
